﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema 
  attributeFormDefault="unqualified" 
  elementFormDefault="qualified" 
  targetNamespace="http://master-of-omega/Starclasses.xsd" 
  xmlns="http://master-of-omega/Starclasses.xsd" 
  xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="Starclasses">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" name="SpectralClass">
          <xs:complexType>
            <xs:attribute name="SpectralClass_ID" type="xs:int" use="required" />
            <xs:attribute name="Class" type="xs:string" use="required" />
            <xs:attribute name="Age" type="xs:string" use="required" />
            <xs:attribute name="Temperature" type="xs:string" use="required" />
            <xs:attribute name="Color" type="xs:string" use="required" />
            <xs:attribute name="Mass" type="xs:string" use="required" />
            <xs:attribute name="Radius" type="xs:string" use="required" />
            <xs:attribute name="DistributionInPercent" type="xs:unsignedByte" use="required" />
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>